home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11069 < prev    next >
Encoding:
Text File  |  1996-08-05  |  634 b   |  32 lines

  1. Path: news.sprintlink.net!jjcd-newsserver!news
  2. From: "Darrell Gallion, D260" <dgallion@cldx.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Memory leaks ??
  5. Date: Fri, 08 Mar 1996 18:44:11 -0500
  6. Organization: Johnson & Johnson Clinical Diagnostics
  7. Message-ID: <3140C64B.30F3@cldx.com>
  8. NNTP-Posting-Host: flower.cnp.cldx.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
  13.  
  14. With gcc version 2.6.3 this will leak memory.
  15. Any thoughts ?
  16.  
  17.  
  18. #include <strstream.h>
  19.  
  20. void main(void)
  21.  for(;;)
  22.  {
  23.     strstream str;    
  24.  }
  25.  
  26. }
  27.  
  28.  
  29. Darrell Gallion
  30. dgallion@cldx.com
  31.